#include <iostream>
using namespace std;

#ifndef _PERSON_INLINE_H_
#define _PERSON_INLINE_H_

class Person
{
	private :
		int m_salary;
	public :
		string m_name;
		string m_sex;
		int m_age;

		Person(string name = "hjj", string sex = "man", int age = 20) :
			m_name(name), m_sex(sex), m_age(age)
		{
			cout << "Default Person init()" << endl << endl;
		}

		void display(void)
		{
			cout << "Name : " << m_name << endl;
			cout << "Sex  : " << m_sex << endl;
			cout << "age  : " << m_age << endl;
		}

		inline void set_salary(int salary);
		inline int get_salary(void);
	
	protected :
};

inline void Person :: set_salary(int salary)
{
	m_salary = salary;
}

inline int Person :: get_salary(void)
{
	return m_salary;
}

#endif
